home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / sound / sndplaydoublebuffer / _headers / dbff_errors.h next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.5 KB  |  37 lines

  1. /*
  2.     File:        DBFF_Errors.h
  3.  
  4.     Contains:    Error codes for errors returned from DBFF functions.
  5.  
  6.     Written by: Mark Cookson    
  7.  
  8.     Copyright:    Copyright ©1996-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 8/31/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  20.                 
  21.  
  22. */
  23. #ifndef __DBFFERRORS__
  24. #define __DBFFERRORS__
  25.  
  26. #define kInitErr            128    /* An error starting up that we can't recover from */
  27. #define kNoSPDBErr            129    /* SoundPlayDoubleBuffer is not supported on this Mac, can't play */
  28. #define kOldSndMgrErr        130    /* Need to have Sound Manager 3.0 or greater */
  29. #define kNilPtrErr            131    /* A nil pointer was passed to a routine */
  30. #define kBadRange            132    /* A value that is out of range was passed */
  31. #define kBadValue            133    /* A bad value was passed */
  32. #define kUnknownFormat        134    /* A file format we can't deal with */
  33. #define kBadWAVEFileFormat    135    /* A WAVE file with a bad file format */
  34. #define kFileErr            136    /* An error directly relating a file operation */
  35.  
  36. #endif
  37.